/**
 *  @file HttpResponse.cpp
 */
#include "HttpResponse.h"

namespace cppflib
{

namespace net
{

namespace http
{


HttpResponse::HttpResponse(void)
{
}

HttpResponse::HttpResponse(pcwstr_t ver, int resCode, pcwstr_t reason)
{
   this->SetHttpVersion(ver);
   this->responseCode = resCode;
   this->reasonPhrase = reason;
}

HttpResponse::~HttpResponse(void)
{
}

int HttpResponse::GetResponseCode(void)
{
   return this->responseCode;
}

const CFString& HttpResponse::GetResponseReason(void)
{
   return this->reasonPhrase;
}

} // end of namespace http

} // end of namespace net

} // end of namespace cppflib
